package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiAddressHandleRequest extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;
    
    public static final int OP_SET_DEFAULT = 1;
    public static final int OP_DELETE = 2;
    
    @JsonProperty("params")
    @ApiModelProperty(value = "参数", example = "object", required = true)
    private ApiAddressHandleRequestModel params;
    
    public ApiAddressHandleRequestModel getParams() {
        return params;
    }

    public void setParams(ApiAddressHandleRequestModel params) {
        this.params = params;
    }
 
}
